home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- PC Casino Slot Machine II
- ═════════════════════════════════════════════════════════════════
-
- Earlier releases of my version of SLOTMACH.BAS/SLOTCOL.BAS
- (SLOT.EXE/SLOT.BAS) may have been compiled using QuickBASIC 4.5,
- but starting with this version of QuickBASIC execution became
- slower so I returned to the faster 3.0 version. This is SLOT.EXE
- only.
-
- SLOT.EXE requires the BRUN30.EXE Microsoft runtime library
- (included in older archives). Both of these files have been
- removed from the 4.0 archive. I did this to reduce the size of
- the archive. SLOT.BAS can be run from either GWBASIC (DOS 1.0-
- 3.3) or QBasic (DOS 5.+). BRUN30.EXE is 70,680 bytes and a stand-
- alone version of SLOT.BAS with either QuickBASIC 4.5 or Turbo
- Basic 1.1 is 60,000 or more bytes. Just wiser to leave these two
- files out of the archive.
-
- SLOT2.EXE (4.0) starts my conversion and update using
- Borland's Turbo Pascal 7.0. THE SOURCE CODE FOR THIS VERSION IS
- NOT INCLUDED IN THE ARCHIVE. It might look much the same as
- SLOT.BAS, but most of the internal workings are completely new.
- It took some effort to convert it. It has more bells and
- whistles. I removed the music from the new version. The program
- does a tone up (winner) or tone down (loser). Sounds for the
- spinning wheels is more realistic, At least I believe.
-
- I updated a lot of the BASIC code. Some routines are
- completely new, new ones added, others modified and/or corrected.
- There was a lot of extra lines of code in the BASIC version(s)
- that I programmed around in the Pascal version. Slot Machine II
- (SLOT2.EXE) is a stand-alone program and does not require the
- presence of any runtime library. Without the need of a runtime
- library the Pascal version is much smaller.
-
- The original author of SLOTMACH.BAS is unknown. See it and
- SLOTCOL.BAS for details (rem statements).
-
- The archive should contain the following files:
-
- FILE_ID.DIZ.............. BBS description file
- SLOTCOL.BAS.............. BASIC/Color version of original
- SLOTMACH.BAS............. BASIC original version
- SLOT.BAS................. My BASIC version of SLOTCOL.BAS
- READ.ME.................. Update information
- SLOT2.DOC................ Documentation file
- SLOT2.EXE................ Actual Slot Machine II program
- HUCKABEY.TXT............. Current list of James Huckabey
- software
- SOFTWARE.TXT............. Information about shareware
- ARCHIVE.TXT.............. This list of files
-
-
-
-
-
-
-
- To run the program type in SLOT2 and press <ENTER>. The
- screen displays the credits (pressing any key speeds up the
- display). After this the screen displays the Options Menu:
-
-
- ╔═════════════════════════════════════╗
- ║ Slot Machine II Options Menu ║
- ╟─────────────────────────────────────╢
- ║ ║
- ║ <1> New Game ║
- ║ ║
- ║ <2> New Player ║
- ║ ║
- ║ <3> View Top Ten ║
- ║ ║
- ║ <4> Erase Top Ten ║
- ║ ║
- ║ <5> Information/Help ║
- ║ ║
- ║ <6> Turn Sound ON/OFF ║
- ║ ║
- ║ <7> Exit Program ║
- ║ ║
- ╟─────────────────────────────────────╢
- ║ Press Choice <1-7> ║
- ╚═════════════════════════════════════╝
-
-
- You can press <ENTER>, <1> or <2> to start a game. If you
- have not entered a user name you are prompted as follows:
-
-
- No current user name
-
-
- Please type in your name and press <ENTER>
-
- [ ]
-
- Press <ESC> for Menu!
-
-
- You can type in any name up to 16 characters. To erase a
- character press <BACKSPACE>. When finished press <ENTER>, to
- abort press <ESCAPE>. If you press <ENTER> without typing in a
- name the program randomly picks a name for you out of thirty male
- and female names including "Hey You."
-
- You advance to the play screen.
-
-
- <3> View Top Ten
-
- Pressing <3> from the Options Menu the program displays the
-
-
-
-
-
-
-
- current Top Ten Players:
-
-
- Slot Machine II Top Ten
-
- Grandpa................. $ 33.50 on 7-05-1995 at 2:25:55p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
- No One.................. $000.00 on 7-04-1995 at 12:15:22p
-
-
- Press <ENTER> for Options Menu
-
-
- Pressing <ENTER> returns you to the Options Menu.
-
-
- <4> Erase Top Ten
-
- Press <4> from the Options Menu. The screen displays:
-
-
- WARNING WARNING WARNING
-
-
- Press <Y> To Confirm Deletion of Existing Score File
-
- or
-
- Press <ANY OTHER> Key to Abort
-
-
- WARNING WARNING WARNING
-
-
- You must press "Y" to delete (reset) the Top Ten score file.
- Any other key aborts the option and returns you to the Options
- Menu. Pressing <Y> erases the current score file and writes out a
- new one with no data in it but the current date and time. Return
- to the Options Menu is automatic.
-
-
- <5> Information/Help
-
- Displays author information and basic on-line help along
- with a color display of the Slot Machine's payoffs. You can abort
- the display at any time by pressing <ESCAPE>, pressing <RETURN>
- advances you through several screens and then returns you to the
-
-
-
-
-
-
-
- Options Menu.
-
- <6> Turn Sound OFF/ON
-
- Pressing <6> for the Options Menu or <S> from the play
- screen reverses the state of the sound option. If it is ON it is
- turned OFF. If it is OFF it is turned ON. The displays shows the
- option, not the state. If it says Turn Sound ON this means that
- the sound is currently off. Default is OFF. You have to turn the
- sound on to get sound. This must be repeated each time you run
- the program. Previously my programs defaulted to sound ON, but I
- have decided to make it OFF so it is silent unless the user
- chooses to turn it ON. My wife likes to sleep at night (GRIN)!
-
-
- <7> Exit Program
-
- Pressing <7> from the options menu exits the program without
- any further prompting.
-
-
- The Play
-
- Since a real slot machine is mechanical and has spinning
- wheels it is necessary to randomly pick symbols out of a
- predefined list (array). A list is made for each wheel. On each
- pull of the handle the program randomly displays a symbol. As
- each wheel is stopped whatever symbol is currently being
- displayed is chosen for that wheel and so on for each of the
- three wheels.
-
- The program resets the random generator, used to choose the
- wheels, on each new game. This is to help insure that each game
- is unique. The only way the game can repeat play is to start the
- computer on exactly the same time each day, and to start the
- program at the same exact time. Then the first game could be
- exactly the same as the previous day's. The random generator uses
- the computer's timer, which it uses to keep track of how much
- time has passed for that day since the computer was turned on or
- the time since midnight when the timer rolls over to zero.
-
- The program is not weighted to win. The symbols on the
- wheels are randomly picked on each play. There are 32 symbols on
- each of the three wheels. A symbol on each wheel is weighted.
- Cherries are weighted on Wheel #1, slightly on Wheel #2 and are
- normal (for program) on Wheel #3. In this version I have tried to
- make the play more like the real thing. As with real slot
- machines you can make money one time and lose another time. The
- odds are with the house, as always (grin)!
-
- You are given $25 to gamble with each game played. It is not
- an accumulated amount from previous plays. If you lose your money
- the current game is terminated. To play again chose a new game
- from the Options Menu or just press <ENTER> at the Options Menu.
-
-
-
-
-
-
-
- The play screen prompt is as follows:
-
- Press <ENTER>=Pull, <S>ound ON, <C>olor, <E>xit
-
- Once play has started you press <ENTER> to do a play, this
- is a PULL on the handle.
-
- Pressing <S>ound turns the sound ON or OFF depending on the
- current state. If ON it is turned OFF, if OFF it is turned ON.
-
- Pressing <C>olor changes the color of the slot machine. The
- default color for the slot machine is dark blue. You can repeat
- pressing <C>olor until you get the color you want out of 7 random
- colors.
-
- Pressing <E>xit terminates the current play. You are shown
- your current holdings and how much you lost or won.
-
- Exiting or running out of money advances you to the Top Ten
- screen. If your score is $25.25 or more the program checks to see
- if it is greater than the 10th position. If it is the 10th
- position is replaced with your score. The program then sorts the
- Top Ten and writes out a new file before displaying it on the
- screen. The screen displays, along with the top ten:
-
-
- Congratulations! You made the Top Ten!
-
-
- If your score is less than 10th position the screen
- displays:
-
-
- Cheer up! There is always a next time!
-
-
- That is pretty much the game. Most prompts are displayed
- clearly on the screen. You might want to see the pay-offs to see
- which bars and colors pay off what.
-
-
-
-
-
-
-
- Contribution not Sought
-
- This program is Freeware, meaning I am not asking for money.
- BUT if you want to send me something for my efforts and to
- encourage me to write updates and new programs it will be greatly
- appreciated. Again, I am not asking for any contributions. If you
- do send a contribution please include your diskette type and
- version number and where you received your copy of the program
- (friend, BBS download, Software Library, etc.). Sometimes I send
- updates and other of my software. This is a fully functional
- program.
-
- If you would like to write me about your likes and dislikes
- feel free to do so. I always like to receive feedback from users.
- I try to write easy, user friendly software.
-
- James Huckabey
- 3621-A Fraser Street
- Bellingham, WA 98226-2473
- (360) 671-2868, voice, Pacific
-